<div class='span10'>
<?php
if(count($events_data['events']) <= 0)
{
     switch($events_data['status'])
     {
         case "AC":
			echo "No hay eventos próximos";
			break;
         case "IP":
			echo "No hay eventos en progreso";
			break;
         case "FI":
			echo "No hay eventos finalizados";
			break;
         case "CA":
			echo "No hay eventos cancelados";
			break;
     }
}
else
{
?>
<table class="table table-bordered">
	    <thead>
			<tr>
				<th>Nombre</th>
				<th>Identificador</th>
				<th>Creado</th>
				<th colspan="2"></th>
			</tr>
	    </thead>
	    <tbody>
	    <?php foreach($events_data['events'] as $field):?>				
	    <tr>
		<td><?php echo $field['Events']['name']?></td>
		<td><?php echo $field['Events']['identificator']?></td>
		<td><?php echo $field['Events']['created']?></td>
		<td style="text-align: center;"><i class="icon-edit"></i></td>
		<td style="text-align: center;"><i class="icon-trash"></i> </td>
	    </tr>
	    <?php endforeach;?>
	    </tbody>
</table>
<?php
}

?>
</div>